{% extends "layout.html" %} {% block body %} {% if error %}
<p class="error"><strong>Error:</strong>{{error}}</p>
{% endif %}
<div class="container">
	<div class="col-md-8">
		{% block leftbody %} {% endblock %}
	</div>
	<div class="col-md-4">
		<h4 class="title">博客分类</h4>
		<div class="list-group">
			<!--li class="list-group-item blog_classify ">博客分类</li-->
			{% block typebody %} 
                                {% for type in alltype %}
			               <a href="{{url_for('show_type_blog', typeid=type.typeid)}}" class="list-group-item" value="{{type.typeid}}">{{type.typename}}<span class="badge">{{type.typecount}}</span></a> 
                                {% endfor %} 
                        {% endblock %}

		</div>
		<h4 class="title">我的标签</h4>

		<div class="panel panel-default">

		<div class="panel-body">
                      <span class="label label-primary">python</span>
                      <span class="label label-success">c/c++</span>
                      <span class="label label-info">Linux</span>
                      <span class="label label-warning">java</span>
                      <span class="label label-danger">数据结构与算法</span>
                      <span class="label label-info">数据分析</span>
                      <span class="label label-default" style="width: 100; height: 80;">网络编程</span>
      </div>
		</div>
	</div>

</div>
{% endblock body %}